# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer:
pkgname=vimb
pkgver=3.7.0
pkgrel=0
pkgdesc="The vim like browser"
url="https://fanglingsu.github.io/vimb/"
arch="all"
license="GPL-3.0-or-later"
makedepends="webkit2gtk-4.1-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/fanglingsu/vimb/archive/$pkgver.tar.gz"

build() {
	CFLAGS="$CFLAGS -flto=auto" \
		make PREFIX=/usr
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
00101b799c33b7cdb91db407654cbccbf2041d06ae604541ba90806c6fa26345fbfe54fa42ad457817a186493b233e9ee24dc301eacf19d8cd15f546d87615a7  vimb-3.7.0.tar.gz
"
